]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: only scale a layout row when it doesn't fit
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 22 Apr 2013 22:04:56 +0000 (18:04 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 22 Apr 2013 22:06:09 +0000 (18:06 -0400)
commitab26fc438a8ec2b16e5bda3e7129d5ff9496c50d
tree141a19b4fc3320aa990b19485df7ad7ec447edfb
parentc37259b01de27eb6bc21075ea4f7e50b1eb146ec
workspace: only scale a layout row when it doesn't fit

Instead of applying an additional scale factor to all the rows in the
layout, only do it for those rows that don't fit.
This avoids the visual distraction of resizing a row when there's no
need to.
js/ui/workspace.js